import 'package:flutter/material.dart';
import 'package:get/get.dart';

import 'sentitivity.dart';

class SensitivityPage extends StatelessWidget {
  SensitivityPage({super.key});

  final RxInt selectedIndex = 1
      .obs; // 默认中等

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(title: const Text("识别灵敏度")),
      body: Center(
        child: Padding(
          padding: const EdgeInsets.symmetric(horizontal: 30),
          child: SensitivityDots(
            labels: ["低", "中", "高"],
            selectedIndex: selectedIndex,
            activeColor: Colors.deepPurple,
          ),
        ),
      ),
    );
  }
}
